const arr = [1, 2, 3, 4, 5];
const [a, b] = arr;
console.log(a);
console.log(b);